import React from 'react';
import PropTypes from 'prop-types';
import {View, TouchableOpacity, Text} from "react-native";

const MenuCell = ({menu}) => {
    return (
        <TouchableOpacity>
            <View>
                <Text>{menu.title}</Text>
            </View>
        </TouchableOpacity>
    );
};

MenuCell.propTypes = {
    menu:PropTypes.object
};

export default MenuCell;